home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILREEN / LASRUTIL.LZH / HPHEBREW.DOC < prev    next >
Text File  |  1988-10-14  |  8KB  |  212 lines

  1.  
  2.  
  3.         HPHEBREW - A Laser Printer Utility
  4.         __________________________________
  5.  
  6.  
  7. Introduction
  8. ============
  9. HPHEBREW creates and downloads soft fonts of Hebrew letters for Hewlett-
  10. Packard's LaserJet II, which can be generated in any combination of:
  11.  
  12.     fixed or proportional spacing;     portrait or landscape orientation;
  13.     thin, regular, or bold width;     point sizes from 3 to 72; 
  14.     filled or hollow outline characters.
  15.  
  16. You must always tell HPHEBREW what point size to generate, but all other
  17. options will default.  For example:    HPHEBREW  -s12
  18. will download a 12-point, regular width, filled characters, portrait, fixed
  19. spaced font to LPT1 as id 0.  To override the defaults, use options on the
  20. command line.  Precede options by a dash (-), such as: HPHEBREW -s12 -dcom1
  21. Entering the command HPHEBREW with no options will print a help screen.
  22.  
  23. The options are:
  24. ================
  25.  
  26. -B    Bold.  Normally HPHEBREW draws letters with a stroke width of 1/6
  27.     the point size.  Use -B for a bolder stroke, -N for a narrower one.
  28.  
  29. -Dname  Device name.  Normally HPHEBREW writes to LPT1, but it will write
  30.     to: LPT1, LPT2, LPT3, COM1, COM2, or PRINTER.  (If you use PRINTER,
  31.     the soft font will be written to a disk file called PRINTER, which
  32.     you can inspect, modify, or use with other downloading programs.)
  33.  
  34. -Innnn  ID number of font.  Normally HPHEBREW gives its font the id 0.
  35.         Use the -I option to give it a different ID, such as:
  36.             HPHEBREW -s12  -I1 -Dlpt1 
  37.     Use this font id to switch fonts with an: ESC(nnnnX code.
  38.  
  39. -H    Hollow letters.  Normally HPHEBREW generates solid, filled 
  40.     letters, but will leave the interior empty if you use -H.
  41.      
  42. -K    Keyboard mapping.  See section called Hebrew to ASCII Assumptions.
  43.  
  44. -L      Landscape.  Normally HPHEBREW creates a Portrait mode font.  Use
  45.     the -L option for landscape.  No characters follow the -L option.
  46.  
  47. -P      Proportional.  Normally HPHEBREW creates a Fixed-space font.  Use
  48.     the -P option for a proportional font.  No characters follow the -P.
  49.  
  50. -S    Size.  You must specify the size of the font to be generated in 
  51.     points from 3 to 72.  (A point is 1/72 inches tall.)  The larger
  52.     the point size, the more memory the font takes up in your printer.
  53.  
  54. -W    Width.  See section called Information about the Fonts.
  55.  
  56.  
  57.  
  58.         HPHEBREW - A Laser Printer Utility
  59.         __________________________________
  60.  
  61.  
  62. HEBREW to ASCII Assumptions
  63. ===========================
  64. By default, the Hebrew characters are mapped to ASCII characters in
  65. a manner that anticipates the use of an English keyboard as follows:
  66.       Key Char          Key Char          Key Char        Key Char       
  67.     a aleph        b beth        c gimel        d daleth
  68.     h he        v vav        z zayin        H heth    
  69.     t teth        y yod        k kaph        K kaph final
  70.     l lamed        m mem        M mem final    n nun
  71.     N nun final    s samekh    i ayin        f fe
  72.     F fe final    j tzadeh    J tzadeh final    q quoph    
  73.     r resh        w shin        T tav        * *    
  74.     ? ?        / /        , ,        ; ;
  75.     . .        : :        ! !        ' '
  76.     " "        ( (        ) )        + +
  77.       - -        = =
  78.  
  79. If you are using a keyboard that directly enters Hebrew characters, you
  80. can override the default character mapping with the K option.  Using -K
  81. by itself causes the following key to character mapping:
  82.  
  83.       Key Char          Key Char          Key Char        Key Char       
  84.     t aleph        c beth        d gimel        s daleth
  85.     v he        u vav        z zayin        j heth
  86.     y teth        h yod        f kaph        l kaph final
  87.     k lamed        n mem        o mem final    b nun    
  88.     i nun final    x samekh    g ayin        p fe
  89.     ; fe final    m tzadeh    . tzadeh final    e quoph
  90.     r resh        a shin        , tav        * *    
  91.     ? ?        q /        ' ,        [ ;
  92.     / .        { :        ! !        w '
  93.     " "        ( (        ) )        + +
  94.      - -        = =
  95.  
  96. This mapping is subject to change as I learn more about what Hebrew keyboards
  97. are available and try to match the most common.  If neither of these options 
  98. suits your needs, you can reorder the key-to-character assignment yourself 
  99. by entering a new keyboard map with the K option.  The first character after
  100. the K should be the character you want used for aleph, the second for beth, 
  101. third for gimel, etc.  Use the order of characters listed above, and be sure
  102. to specify all 42 characters (letters and punctuation).  Since it is difficult
  103. to enter a double quote (") in an argument, use the at-sign (@) for this key 
  104. in the K option.  When HPHEBREW reads the @, it will substitute a ".  For 
  105. example, the following would duplicate the default mapping, except c would 
  106. be used for quoph, and g would be used for gimel:
  107.  
  108.     HPHEBREW -s10 -KabgdhvzHtykKlmMnNsifFjJcrwT*?/,;.:!'@()+-=
  109.  
  110. There is as yet no provision for right to left printing.  You will
  111. have to accomplish this through other means.
  112.  
  113.  
  114.  
  115.         HPHEBREW - A Laser Printer Utility
  116.         __________________________________
  117.  
  118.  
  119. Information about the fonts
  120. ===========================
  121.  
  122. If you are using these fonts with other software, such a word 
  123. processor or a page layout program, you may need to describe
  124. the fonts to the other software.  Ideally, the other software 
  125. could read the HP soft font format, but if that is not the case,
  126. the following information may help you.
  127.  
  128. The laser printer has a resolution of 300 dots per inch.  To print a
  129. 10 point font, which is 10/72 inches high, the characters must be
  130. 10/72*300, or 42, dots tall.  The Hebrew soft font uses a square
  131. character box, so for the 10 point fixed width font, characters
  132. are displayed in a 42 x 42 dot box.  Similarly other point sizes:
  133.  
  134.             Points    Dots
  135.               8     33
  136.              12     50
  137.              72    300
  138.  
  139. With a fixed width font, all characters take the same amount of space,
  140. from the thinnest yod to the widest shin.  For proportional spaced fonts,
  141. the characters take only the amount of space needed to display the 
  142. character, and the next letter to be printed is squeezed close to the
  143. previous letter - no excess blank space between characters.  If you
  144. want to know how wide each character is, use the -W option of HPHEBREW.
  145. This will display a table of the characters in the font and the width
  146. of each character in dots.  The format of the width display is similar
  147. to that used for ASCII input to Microsoft's MAKEPRD program:
  148.         
  149.         {W0
  150.         FontSize: XX        where XX is 2 times the point size
  151.         chFirst: XX        where XX is the ASCII code of the 
  152.                     first character (usually 32 for blank)
  153.         chLast: XX        where XX is the ASCII code of the
  154.                     last character 
  155.         XX:YYY            where YYY is the width in dots of 
  156.         XX:YYY            the character with the ASCII code XX
  157.          ...
  158.         XX:YYY
  159.         }W
  160.         
  161. If you need this information directly in machine readable format, you
  162. will have to redirect the screen display to a file and edit it, such as:
  163.  
  164.         HPHEBREW -s10 -p -w > hebrew.prd
  165.  
  166.  
  167.  
  168.         HPHEBREW - A Laser Printer Utility
  169.         __________________________________
  170.  
  171.  
  172. Shareware
  173. =========
  174. HPHEBREW is distributed as shareware:  try it before you buy it.  
  175. Make sure it works on your configuration to your liking.  Shareware
  176. is  NOT freeware - unless you pay for it, you don't have the right
  177. to continue using it beyond a test period.
  178.  
  179. The price of HPHEBREW is $25.  Send your check to:
  180.             
  181.             HPHEBREW
  182.             Hexagon Products
  183.             P.O. Box 1295
  184.             Park Ridge, IL  60068-1295
  185.  
  186. When you register HPHEBREW, please include the following information:
  187.  
  188.  
  189.     Name: ___________________________________________________
  190.  
  191.     Company: ________________________________________________
  192.  
  193.     Address: ________________________________________________
  194.  
  195.     City: ___________________________________ State: ________
  196.  
  197.     Zip: _________________ Phone: ___________________________
  198.  
  199.     
  200.     Do you use DOS or OS/2?        DOS    OS/2
  201.  
  202.     Do you use color?        Yes    No
  203.  
  204.     Do you use EGA or VGA?        Yes    No
  205.  
  206.     Do you have a mouse?        Yes    No
  207.  
  208.     What kind of printer do you use? ________________________
  209.  
  210.     Where did you acquire HPHEBREW from? ____________________
  211.  
  212.